<script>
var jzUrl = "<?php echo $this->url($this->baseUrl, 'stat', 'jz');?>";
</script>
<!--全站头部-->
<div class="header">
	<div class="info_header">
    	<div class="infoc_header">
    	<a href="javascript:;" onclick="javascript:return setHome(this,'<?php echo $this->fullUrl;?>');">设为首页</a> / <a href="javascript:;" onclick="javascript:return addFavorite(location.href,'<?php echo $this->cfg['title'];?>');">加入收藏</a>
        </div>
    </div>
    
<div class="con_header">
        	<a title="发布家族" href="<?php echo $this->url($this->baseUrl, 'index', 'jzpub');?>" class="l_header1"></a>
            <a title="发布广告" href="<?php echo $this->url($this->baseUrl, 'index', 'adpub');?>" class="l_header2"></a>
            <a title="联系我们" href="<?php echo $this->url($this->baseUrl, 'index', 'contact');?>" class="l_header3"></a>
			<a title="点击下载" href="<?php echo $this->url($this->baseUrl, 'index', 'down');?>" class="l_header4"></a>
    </div>
</div>
<!-- 全站头部结束-->


<!--全站导航-->
<div class="nav">
<p><a  href="<?php echo $this->fullUrl;?>">首页</a>
 / <a  href="javascript:;" onclick="javascript:return setHome(this,'<?php echo $this->fullUrl;?>');">设为首页</a>
 / <a href="javascript:;" onclick="javascript:return addFavorite(location.href,'<?php echo $this->cfg['title'];?>');">加入收藏</a>
  / <a href="<?php echo $this->url($this->baseUrl, 'index', 'jzpub');?>">发布家族</a>
   / <a href="<?php echo $this->url($this->baseUrl, 'index', 'adpub');?>">发布广告</a>
    / <a href="<?php echo $this->url($this->baseUrl, 'index', 'contact');?>">联系我们</a>
</p>
</div>
<!--全站导航结束-->

<div class="ad">
<?php

foreach ($this->adlist as $v)
{
$surl = $this->url($this->baseUrl, "stat", 'a', array("id" => $v['id']));
$v['image'] = trim($v['image']);
$v['url'] = trim($v['url']);

if (empty($v['image']))
	$v['image'] = '/images/dad.jpg';
if (empty($v['url']))
	$v['url'] = $this->fullUrl;

echo <<<EOT
	<a href="{$v['url']}" target=_blank onclick="javascript:return surl('{$surl}');"><img border="0" src="{$this->baseUrl}{$v['image']}" width="330px" height="60px"></a>
EOT;
}
?>              
</div>